package com.xbongbong.paas.pojo.vo;

import com.xbongbong.paas.constant.PaasConstant;
import com.xbongbong.paas.toolbox.wrap.BaseVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 同步组织架构VO
 * @author kaka
 * @time 2018-9-5 15:27
 */
@Getter
@Setter
@ToString
public class DepartmentRefreshVO extends BaseVO {

    private static final long serialVersionUID = -6106876231969674820L;

    /**
     * 最大组织架构同步次数
     */
    private Integer maxUseTimes;

    /**
     * 当前剩余组织架构同步次数
     */
    private Integer useTimes;

    public DepartmentRefreshVO() {
        maxUseTimes = PaasConstant.MAX_DEPARTMENT_REFRESH_TIMES_PER_DAY;
    }
}
